package com.jzo2o.foundations.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author Ms.发发
 * @ClassName ServeHotStatusEnum
 * @Date 2025/3/20 18:43
 * @Description
 **/
@AllArgsConstructor
@Getter
public enum ServeHotStatusEnum {
    NOTHOT(0,"非热门"),
    HOT(1,"热门");
    private int status;
    private String description;

    public boolean equals(Integer status) {
        return this.status == status;
    }

    public boolean equals(ServeHotStatusEnum serveHotStatusEnum) {
        return serveHotStatusEnum != null && serveHotStatusEnum.status == this.getStatus();
    }
}
